import i18n from '@src/locales'


// 选择列数据or表格
let fields = [
  {
    id: 476,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'taskNo',
    displayName: i18n.t('common.form.type.taskNo'),
    formType: 'text',
    defaultValue: null,
    isNull: 0,
    isSearch: 1,
    placeHolder: null,
    setting: {
      customerNameDuplicate: false,
    },
    show: true,
    orderId: 0,
    isDelete: 0,
    guideProfessions: [],
    isGuideData: false,
    guideData: false,
  },
  {
    id: 476,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'templateName',
    displayName: i18n.t('common.task.taskType'),
    formType: 'text',
    defaultValue: null,
    isNull: 0,
    isSearch: 1,
    placeHolder: null,
    setting: {
      customerNameDuplicate: false,
    },
    orderId: 0,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'customer',
    displayName: i18n.t('common.base.customer'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    show: true,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'tlmName',
    displayName: i18n.t('common.base.contact'),
    exportAlias: 'customerLinkman',
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    show: true,
    guideProfessions: [],
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'tlmPhone',
    exportAlias: 'customerPhone',
    displayName: i18n.t('common.base.phone'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'taddress',
    exportAlias: 'customerAddress',
    displayName: i18n.t('common.form.type.customerAddress'),
    formType: 'address',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'product',
    exportAlias: 'product',
    displayName: i18n.t('common.base.product'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    tableName: 'task',
    isSystem: 1,
    fieldName: 'serialNumber',
    exportAlias: 'product',
    displayName: i18n.t('common.fields.productNo.displayName'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 0,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'level',
    displayName: i18n.t('common.form.type.level'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'serviceType',
    displayName: i18n.t('common.form.type.serviceType'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'serviceContent',
    displayName: i18n.t('common.form.type.serviceContent'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'executorTags',
    displayName: i18n.t('common.base.serviceDepartment'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'expectCreateTime',
    displayName: i18n.t('common.form.type.expectCreateTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'planTime',
    displayName: i18n.t('common.form.type.planTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: "planStartTime",
    displayName: i18n.t('common.form.type.planStartTime'),
    formType: "datetime",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: "task",
    isSystem: 1,
    fieldName: 'planEndTime',
    displayName: i18n.t('common.form.type.planEndTime'),
    formType: "datetime",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: "customer",
    isSystem: 1,
    fieldName: "description",
    displayName: i18n.t('common.form.type.description'),
    formType: "text",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'createUserName',
    exportAlias: 'createUser',
    displayName: i18n.t('common.base.createUser'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'executorName',
    exportAlias: 'executor',
    displayName: i18n.t('task.executor'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'allotName',
    exportAlias: 'allotUser',
    displayName: i18n.t('task.allotUser'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'synergies',
    displayName: i18n.t('task.synergies'),
    formType: 'user',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'state',
    displayName: i18n.t('task.taskState'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'inApprove',
    displayName: i18n.t('task.list.displayName.approveStatus'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 0,
    fieldName: 'paymentMethod',
    displayName: i18n.t('task.detail.components.payMethod'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'createTime',
    displayName: i18n.t('common.base.createTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'allotTime',
    displayName: i18n.t('task.list.displayName.allotTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'allotTypeStr',
    displayName: i18n.t('task.list.displayName.allotType'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'acceptTime',
    displayName: i18n.t('task.list.displayName.acceptTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'startTime',
    displayName: i18n.t('task.list.displayName.startTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },

  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'reallotTime',
    displayName: i18n.t('task.list.displayName.transferTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'completeTime',
    displayName: i18n.t('common.base.completeTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'acceptUsedTimeStr',
    displayName: i18n.t('task.detail.components.acceptTime'),
    exportAlias: 'acceptUsedTime',
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'taskUsedTimeStr',
    exportAlias: 'taskUsedTime',
    displayName: i18n.t('task.detail.components.taskTime'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'workUsedTimeStr',
    exportAlias: 'workUsedTime',
    displayName: i18n.t('task.detail.components.workTime'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'taskResponseTimeStr',
    exportAlias: 'taskResponseTime',
    displayName: i18n.t('task.detail.components.respondTime'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'createToCompleteUsedTime',
    displayName: i18n.t('task.detail.components.finishTime'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'onceOverTime',
    displayName: i18n.t('common.task.exceptionStatus.onceOverTime'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'onceRefused',
    displayName: i18n.t('common.task.exceptionStatus.onceRefused'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'oncePaused',
    displayName: i18n.t('common.task.exceptionStatus.oncePaused'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'onceRollback',
    displayName: i18n.t('common.task.exceptionStatus.onceRollback'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'onceReallot',
    displayName: i18n.t('common.task.exceptionStatus.onceAllot'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'oncePrinted',
    displayName: i18n.t('task.list.displayName.oncePrinted'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'positionException',
    displayName: i18n.t('common.task.exceptionStatus.positionException'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'updateTime',
    displayName: i18n.t('task.list.displayName.lastUpdated'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'reviewTime',
    displayName: i18n.t('task.detail.components.reviewTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'balanceTime',
    displayName: i18n.t('task.list.displayName.balanceTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'closeTime',
    displayName: i18n.t('task.list.displayName.closeTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'source',
    displayName: i18n.t('common.base.createSource'),
    formType: 'user',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'eventNo',
    displayName: i18n.t('task.list.displayName.relatedEvent'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'serviceProviderQualification',
    displayName: i18n.t('common.form.type.serviceProviderQualification'),
    formType: 'serviceProviderQualification',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'engineerQualification',
    displayName: i18n.t('common.form.type.engineerQuality'),
    formType: 'engineerQualification',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'serviceProviders',
    displayName: i18n.t('common.form.type.serviceProviders'),
    formType: 'serviceProviders',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  }
];


const FaultLibraryInquire = [
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'faultReason',
    displayName: i18n.t('common.form.preview.faultLibrary.concatLabel4'),
    formType: 'text',
    exportAlias: 'faultReason',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'faultScene',
    displayName: i18n.t('common.form.preview.faultLibrary.concatLabel2'),
    formType: 'text',
    exportAlias: 'faultScene',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'productType',
    displayName: i18n.t('common.form.preview.faultLibrary.concatLabel1'),
    formType: 'cascader',
    exportAlias: 'productType',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {
      isMulti: false,
      dataSource: [],
    },
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  }
]
// 异常数据
const AbnormalList = [
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'refusedReason',
    exportAlias: 'refusedReason',
    englishName: 'refused',
    displayName: i18n.t('task.refuseReason'),
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'pausedReason',
    exportAlias: 'pausedReason',
    englishName: 'paused',
    displayName: i18n.t('task.pauseReason'),
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'rollbackReason',
    exportAlias: 'rollbackReason',
    englishName: 'rollback',
    displayName: i18n.t('task.backReason'),
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'reallotReason',
    exportAlias: 'reallotReason',
    englishName: 'reallot',
    displayName: i18n.t('task.list.displayName.transferReason'),
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'offedReason',
    exportAlias: 'offedReason',
    englishName: 'offed',
    displayName: i18n.t('task.cancelReason'),
    formType: 'select',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
]

// 归档时间
const archive = [
  {
    id: 5460,
    tableName: 'customer',
    isSystem: 1,
    fieldName: 'syncTime',
    exportAlias: 'syncTime',
    englishName: 'syncTime',
    displayName: i18n.t('task.list.displayName.archiveTime'),
    formType: 'datetime',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'customer',
    isSystem: 1,
    fieldName: 'syncUserName',
    exportAlias: 'syncUserName',
    englishName: 'syncUserName',
    displayName: i18n.t('task.list.displayName.archiveUser'),
    formType: 'text',
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  }
]

// 质保信息
const qualityFields = [
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: "qualityStartTime",
    field:"qualityStartTime",
    exportAlias:'qualityStartTime',
    displayName: i18n.t('common.form.preview.qualityField.label1'),
    formType: "datetime",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: "qualityEndTime",
    field:"qualityEndTime",
    exportAlias:'qualityEndTime',
    displayName: i18n.t('common.form.preview.qualityField.label2'),
    formType: "datetime",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: "qualityStatus",
    field:"qualityStatus",
    exportAlias:'qualityStatus',
    displayName: i18n.t('common.form.preview.qualityField.label3'),
    formType: "select",
    defaultValue: null,
    isNull: 1,
    isSearch: 1,
    placeHolder: null,
    setting: {
      isMulti: false, dataSource: [
        {
          text: i18n.t('common.base.warranty'),
          value: '保内'
        },
        {
          text: i18n.t('common.base.surrender'),
          value: '保外'
        },
      ]
    },
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
]



// 故障库
const FaultLibrary = [
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'budgetAmountMin',
    displayName: i18n.t('task.list.displayName.budgetAmountMin'),
    formType: 'text',
    exportAlias: 'budgetAmountMin',
    defaultValue: null,
    isNull: 1,
    isSearch: 0,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  {
    id: 5460,
    tableName: 'task',
    isSystem: 1,
    fieldName: 'budgetAmountMax',
    displayName: i18n.t('task.list.displayName.budgetAmountMax'),
    formType: 'text',
    exportAlias: 'budgetAmountMax',
    defaultValue: null,
    isNull: 1,
    isSearch: 0,
    placeHolder: null,
    setting: {},
    orderId: 1,
    isDelete: 0,
    guideProfessions: [],
    show: true,
    isGuideData: false,
    guideData: false,
  },
  ...FaultLibraryInquire,
]




export {
  fields,
  AbnormalList,
  archive,
  qualityFields,
  FaultLibrary
};
